package com.easylinkin.linkappapi.safe.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.easylinkin.linkappapi.safe.entity.HiddenDanger;
import com.easylinkin.linkappapi.safe.entity.HiddenDangerInfo;
import com.easylinkin.linkappapi.tenant.entity.LinkappTenant;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class HiddenDangerDTO extends HiddenDanger{

	public HiddenDangerDTO() {
	}

	private String id;

	/**
	 * 隐患库隐患id
	 */
	private String hiddenDangerId;

	/**
	 * 是否已现场整改 0：否，1是
	 */
	private Integer isSceneRectify;

	/**
	 * 补充说明
	 */
	private String supplementRemarks;

	/**
	 * 整改要求
	 */
	private String rectifyRequirements;

	/**
	 * 参建单位id
	 */
	private String linkUnitId;

	/**
	 * 整改人id
	 */
	private String rectifyUid;
	@TableField(exist = false)
	private String rectifyName;

	/**
	 * 隐患类型id
	 */
	private Integer dangerTypeId;

	/**
	 * 时间查询
	 */
	private String createTimeStr;

	public Integer getDangerTypeId() {
		return dangerTypeId;
	}

	public void setDangerTypeId(Integer dangerTypeId) {
		this.dangerTypeId = dangerTypeId;
	}

	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}

	public String getRectifyName() {
		return rectifyName;
	}

	public void setRectifyName(String rectifyName) {
		this.rectifyName = rectifyName;
	}

	/**
	 * 整改时限
	 */
	private Date rectifyEndTime;

	/**
	 * 复查人id
	 */
	private String checkUid;

	/**
	 * 现场图片，多个图片名称以逗号拼接
	 */
	private String scenePhoto;

	/**
	 * 是否超期。0：否，1：是
	 */
	private Integer isOverdue;

	/**
	 * 状态：0：待整改，1：待复查，2：合格
	 */
	private Integer status;

	/**
	 * 创建人id
	 */
	private Long createUid;

	/**
	 * 创建时间
	 */
	private Date createTime;

	private Long operatorUid;

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	private Date startTime;

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	private String creator;

	private String rectifer;

	private String checker;

	private String createPhone;


	private String rectiferPhone;

	private String checkerPhone;

	private Integer beOverdue;

	private String unitName;

	private String fullName;

	private String content;

	private Integer level;

	private Integer isFilter;

	private String checkPartFullName;

	// 整改记录
	private List<HiddenDangerInfo> infos;

	private Boolean idFlag;

	/**
	 * 租户项目信息
	 */
	private LinkappTenant linkappTenant;
	/**
	 * 隐患分类名称
	 */
	private String dangerTypeName;

	/**
	 * 关键字
	 */
	private String paramKey;

	/**
	 * 组织ids，多个，隔开
	 */
	private String organizationIds;

	/**
	 * 租户list
	 */
	private List<LinkappTenant> linkappTenantList;

	public Boolean getIdFlag() {
		return idFlag;
	}

	public void setIdFlag(Boolean idFlag) {
		this.idFlag = idFlag;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getRectifer() {
		return rectifer;
	}

	public void setRectifer(String rectifer) {
		this.rectifer = rectifer;
	}

	public String getChecker() {
		return checker;
	}

	public void setChecker(String checker) {
		this.checker = checker;
	}

	public String getCreatePhone() {
		return createPhone;
	}

	public void setCreatePhone(String createPhone) {
		this.createPhone = createPhone;
	}

	public String getRectiferPhone() {
		return rectiferPhone;
	}

	public void setRectiferPhone(String rectiferPhone) {
		this.rectiferPhone = rectiferPhone;
	}

	public String getCheckerPhone() {
		return checkerPhone;
	}

	public void setCheckerPhone(String checkerPhone) {
		this.checkerPhone = checkerPhone;
	}

	public List<HiddenDangerInfo> getInfos() {
		return infos;
	}

	public void setInfos(List<HiddenDangerInfo> infos) {
		this.infos = infos;
	}

	public Integer getBeOverdue() {
		return beOverdue;
	}

	public void setBeOverdue(Integer beOverdue) {
		this.beOverdue = beOverdue;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getIsFilter() {
		return isFilter;
	}

	public void setIsFilter(Integer isFilter) {
		this.isFilter = isFilter;
	}

	public String getCheckPartFullName() {
		return this.checkPartFullName;
	}

	public void setCheckPartFullName(String checkPartFullName) {
		this.checkPartFullName = checkPartFullName;
	}

	public String getParamKey() {
		return paramKey;
	}

	public void setParamKey(String paramKey) {
		this.paramKey = paramKey;
	}

	public LinkappTenant getLinkappTenant() {
		return linkappTenant;
	}

	public void setLinkappTenant(LinkappTenant linkappTenant) {
		this.linkappTenant = linkappTenant;
	}

	public String getDangerTypeName() {
		return dangerTypeName;
	}

	public void setDangerTypeName(String dangerTypeName) {
		this.dangerTypeName = dangerTypeName;
	}

	public String getOrganizationIds() {
		return organizationIds;
	}

	public void setOrganizationIds(String organizationIds) {
		this.organizationIds = organizationIds;
	}

	public List<LinkappTenant> getLinkappTenantList() {
		return linkappTenantList;
	}

	public void setLinkappTenantList(List<LinkappTenant> linkappTenantList) {
		this.linkappTenantList = linkappTenantList;
	}
}
